import Loading from '../../components/loading.vue'
const log = {
  bind: function(el, value) {
    console.log(el, value, 'bind')
  },
  inserted: function (el) {
    console.log(el, '====')
    const app = el
    const instance = document.createElement('div')
    instance.style="color: red"
    instance.innerText = '测试'
    app.appendChild(instance)
    console.log(instance)
    // el.className="loadingcss"
  },
  update: function(el, value) {
    console.log('数据更新了', value)

  }
}         

export default log

